Drop `OSTREE_BUILT_FEATURES` from introspection
authorColin Walters <walters@verbum.org>
Thu, 2 Jun 2022 23:42:52 +0000 (19:42 -0400)
committerColin Walters <walters@verbum.org>
Thu, 2 Jun 2022 23:44:40 +0000 (19:44 -0400)
It inherently depends on the individual build, and can't
really be an official stable API for introspection users.
I've noticed the value of this flip flop when doing local builds.

I'm fairly certain no one is trying to use it from a higher level
language.

It'd probably make sense to even drop from the official C API,
but I'm trying to be conservative with that.

src/libostree/ostree-version.h.in

index c259b251a30525cb2174b4eed9272171bc184ec1..7ad07be78f1dbbfe4b7d5af0df88f000a186854e 100644 (file)
@@ -98,4 +98,6 @@
  *
  * Since: 2019.3
  */
+#ifndef __GI_SCANNER__
 #define OSTREE_BUILT_FEATURES "@OSTREE_FEATURES@"
+#endif